package com.livestocksolutions.ui;

/* -- Version History --
 *  1.0 : 11 October 2012 - Initial version.
 */
/**
 * An interface that allows provides the following methods that can be used to display and update panels.
 * 
 * @author Adam Parr
 * @.modified 11 October 2012
 */
public interface TabbedInterface {
	/**
	 * Show the contents of the current page.
	 */
	public void displayPanel();
	/**
	 * Show the contents of the given page.
	 * @param panel The panel to view.
	 */
	public void displayPanel(int panel);
	/**
	 * Get the ID of the currently viewwd Object in the tab.
	 * @return A long value representing the ID of the Object currently on the page.<br>
	 *         <tt>0</tt> indicates no Object.<br>
	 *         <tt>-1</tt> indicates a new Object.<br>
	 *         <tt>&gt;0</tt> indicates an Object.<br>
	 */
	public long getID();
}
